<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>flow.model.act</title>
  
    <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
    <link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
    <link rel="stylesheet" href="../assets/vendor/bootstrap/css/bootstrap.min.css">
    <link rel="shortcut icon" type="image/png" href="../assets/favicon.png">
</head>
<body class="yui3-smart">
 <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
        <div class="container-fluid">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
               <a class="navbar-brand mainlogo" href="/static/doc/index.html">
             
            <img alt="" src="../assets/css/logo.png" title="">
            
                
          </a>
            </div>
            <div id="navbar" class="navbar-collapse collapse">
                 <ul class="nav navbar-nav">
                    
                    <li><a href="/home/index/index">首页</a>
                    </li>
                    
                    <li><a href="/static/doc/index.html">文档</a>
                    </li>
                    
                    <li><a href="/admin/index/index">演示</a>
                    </li>
                    
                    <li><a href="/home/index/log">日志</a>
                    </li>
                    
                </ul>
               <div class="navbar-form navbar-right filterAPi" autocomplete="off">
                <input type="text" id='txtSearchAPI' class="form-control search-query" placeholder="Search for API" />
                 <ul id="filterList" class="filterItems dropdown-menu" role="menu"></ul>
                </div>
            </div>
        </div>
    </nav>
    <div id="sidebar">
    <h3>Modules/Classes</h3>
        <div id="api-tabview-filter">
            <input id='txtSearch' type="search" class="form-control" placeholder="Type to filter Modules/Classes">
        </div>
        <dl id="sidebar_list">
             
                <dt>
                    <span class="glyphicon glyphicon-minus"></span>
                    <a href="../modules/admin.controller.html">admin.controller</a>
                </dt>
                <dd>
                    <ul>
                   
                       <li>
                            
                           <a href="../classes/admin.controller.base.html">admin.controller.base</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/admin.controller.code.html">admin.controller.code</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/admin.controller.index.html">admin.controller.index</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/admin.controller.mob.html">admin.controller.mob</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                    </ul>
                </dd>
             
                <dt>
                    <span class="glyphicon glyphicon-minus"></span>
                    <a href="../modules/admin.model.html">admin.model</a>
                </dt>
                <dd>
                    <ul>
                   
                       <li>
                            
                           <a href="../classes/admin.model.code.html">admin.model.code</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/admin.model.code_list.html">admin.model.code_list</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/admin.model.code_lookup.html">admin.model.code_lookup</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/admin.model.groupuser.html">admin.model.groupuser</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/admin.model.groupuser_add.html">admin.model.groupuser_add</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/admin.model.log.html">admin.model.log</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/admin.model.login.html">admin.model.login</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/admin.model.privilege.html">admin.model.privilege</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/admin.model.teamuser.html">admin.model.teamuser</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/admin.model.teamuser_add.html">admin.model.teamuser_add</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/admin.model.user.html">admin.model.user</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                    </ul>
                </dd>
             
                <dt>
                    <span class="glyphicon glyphicon-minus"></span>
                    <a href="../modules/cmpage.controller.html">cmpage.controller</a>
                </dt>
                <dd>
                    <ul>
                   
                       <li>
                            
                           <a href="../classes/cmpage.controller.base.html">cmpage.controller.base</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/cmpage.controller.mob.html">cmpage.controller.mob</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/cmpage.controller.module.html">cmpage.controller.module</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/cmpage.controller.page.html">cmpage.controller.page</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/cmpage.controller.utils.html">cmpage.controller.utils</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                    </ul>
                </dd>
             
                <dt>
                    <span class="glyphicon glyphicon-minus"></span>
                    <a href="../modules/cmpage.logic.html">cmpage.logic</a>
                </dt>
                <dd>
                    <ul>
                   
                       <li>
                            
                           <a href="../classes/cmpage.logic.page.html">cmpage.logic.page</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                    </ul>
                </dd>
             
                <dt>
                    <span class="glyphicon glyphicon-minus"></span>
                    <a href="../modules/cmpage.model.html">cmpage.model</a>
                </dt>
                <dd>
                    <ul>
                   
                       <li>
                            
                           <a href="../classes/cmpage.model.area.html">cmpage.model.area</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/cmpage.model.base.html">cmpage.model.base</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/cmpage.model.file_list.html">cmpage.model.file_list</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/cmpage.model.page.html">cmpage.model.page</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/cmpage.model.page_excel.html">cmpage.model.page_excel</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/cmpage.model.page_lookup.html">cmpage.model.page_lookup</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/cmpage.model.page_mob.html">cmpage.model.page_mob</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/cmpage.model.utils.html">cmpage.model.utils</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/cmpage.cmpage_global.html">cmpage.cmpage_global</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/cmpage.cmpage_global_flow.html">cmpage.cmpage_global_flow</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                    </ul>
                </dd>
             
                <dt>
                    <span class="glyphicon glyphicon-minus"></span>
                    <a href="../modules/demo.model.html">demo.model</a>
                </dt>
                <dd>
                    <ul>
                   
                       <li>
                            
                           <a href="../classes/flow.model.proc_assign.html">flow.model.proc_assign</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/cmpage.model.appr.html">cmpage.model.appr</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/flow.model.proc.html">flow.model.proc</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/flow.model.task.html">flow.model.task</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/flow.model.task_act.html">flow.model.task_act</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/flow.model.task_act_appr.html">flow.model.task_act_appr</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                    </ul>
                </dd>
             
                <dt>
                    <span class="glyphicon glyphicon-minus"></span>
                    <a href="../modules/flow.controller.html">flow.controller</a>
                </dt>
                <dd>
                    <ul>
                   
                       <li>
                            
                           <a href="../classes/flow.controller.act.html">flow.controller.act</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/flow.controller.base.html">flow.controller.base</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/flow.controller.proc.html">flow.controller.proc</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/flow.controller.task.html">flow.controller.task</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/flow.controller.task_act.html">flow.controller.task_act</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                    </ul>
                </dd>
             
                <dt>
                    <span class="glyphicon glyphicon-minus"></span>
                    <a href="../modules/flow.model.html">flow.model</a>
                </dt>
                <dd>
                    <ul>
                   
                       <li>
                            
                           <a href="../classes/flow.model.act.html">flow.model.act</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                       <li>
                            
                           <a href="../classes/flow.model.act_path.html">flow.model.act_path</a>
                           <ul>
                                
                           </ul>
                       </li>
                    
                    </ul>
                </dd>
             
        </dl>
</div>
   
    <div class="stdoc-content">
        <!--     <form id="options-form" class="form-inline pull-right">
        Show:
        <label for="api-show-inherited" class="checkbox">
            <input type="checkbox" id="api-show-inherited" checked>
            Inherited
        </label>

        <label for="api-show-protected" class="checkbox">
            <input type="checkbox" id="api-show-protected">
            Protected
        </label>

        <label for="api-show-private" class="checkbox">
            <input type="checkbox" id="api-show-private">
            Private
        </label>
        <label for="api-show-deprecated" class="checkbox">
            <input type="checkbox" id="api-show-deprecated">
            Deprecated
        </label>

    </form>

 -->
        <div class="apidocs">
            <div id="docs-main">
                <div class="content">
                    <div class="page-header">
    <h1>flow.model.act <small>Class</small></h1>
</div>
 <div class="well well-small sign-left3">
      <div class="stdoc-code"><p>提供工作流的活动节点运转的相关方法，对外提供统一归口的调用<br/>
根据活动节点中的实现类设置，调用具体业务相关的类来实现节点的具体功能</p>
</div>
 </div>

<div class="well well-small sign-left2 container-fluid" id="classesItems">
    <div class="row">
    
        <div class="index-section methods col-sm-4">
            <h3>Methods</h3>
            
            <ul class="index-list methods">
                
                    <li class="index-item method">
                        <a href="#" data-tabid="#method" data-anchor="#method_canRun" data-tablink="canRun">canRun</a>

                        
                        
                    </li>
                
                    <li class="index-item method">
                        <a href="#" data-tabid="#method" data-anchor="#method_fwAutoExec" data-tablink="fwAutoExec">fwAutoExec</a>

                        
                        
                    </li>
                
                    <li class="index-item method">
                        <a href="#" data-tabid="#method" data-anchor="#method_fwEnd" data-tablink="fwEnd">fwEnd</a>

                        
                        
                    </li>
                
                    <li class="index-item method">
                        <a href="#" data-tabid="#method" data-anchor="#method_fwGetActParms" data-tablink="fwGetActParms">fwGetActParms</a>

                        
                        
                    </li>
                
                    <li class="index-item method">
                        <a href="#" data-tabid="#method" data-anchor="#method_fwRun" data-tablink="fwRun">fwRun</a>

                        
                        
                    </li>
                
                    <li class="index-item method">
                        <a href="#" data-tabid="#method" data-anchor="#method_fwSuspend" data-tablink="fwSuspend">fwSuspend</a>

                        
                        
                    </li>
                
                    <li class="index-item method">
                        <a href="#" data-tabid="#method" data-anchor="#method_fwTerminate" data-tablink="fwTerminate">fwTerminate</a>

                        
                        
                    </li>
                
                    <li class="index-item method">
                        <a href="#" data-tabid="#method" data-anchor="#method_getActById" data-tablink="getActById">getActById</a>

                        
                        
                    </li>
                
                    <li class="index-item method">
                        <a href="#" data-tabid="#method" data-anchor="#method_getActByIdAndProcId" data-tablink="getActByIdAndProcId">getActByIdAndProcId</a>

                        
                        
                    </li>
                
                    <li class="index-item method">
                        <a href="#" data-tabid="#method" data-anchor="#method_getActs" data-tablink="getActs">getActs</a>

                        
                        
                    </li>
                
                    <li class="index-item method">
                        <a href="#" data-tabid="#method" data-anchor="#method_getActsByProcId" data-tablink="getActsByProcId">getActsByProcId</a>

                        
                        
                    </li>
                
                    <li class="index-item method">
                        <a href="#" data-tabid="#method" data-anchor="#method_getActsOrder" data-tablink="getActsOrder">getActsOrder</a>

                        
                        
                    </li>
                
                    <li class="index-item method">
                        <a href="#" data-tabid="#method" data-anchor="#method_getNameById" data-tablink="getNameById">getNameById</a>

                        
                        
                    </li>
                
                    <li class="index-item method">
                        <a href="#" data-tabid="#method" data-anchor="#method_getToActsFromId" data-tablink="getToActsFromId">getToActsFromId</a>

                        
                        
                    </li>
                
            </ul>
            
        </div>
    
        <div class="index-section properties col-sm-4">
            <h3>Properties</h3>
            
        </div>
    
        <div class="index-section events col-sm-4">
            <h3>Events</h3>
            
        </div>
    </div>
</div>

<div>
    <ul id="itemTab" class="nav nav-tabs">
        <li class="active"><a data-toggle="tab" href="#class">Detail</a></li>
        
            <li><a data-toggle="tab" href="#method">Methods</a></li>
        
        
        
    </ul>

    <div class="tab-content">
        <div id="class" class="tab-pane active">
            <div class="well well-small classDetail sign-left1">
            

            

            
                <div class="foundat">
                    Defined in: <a href="../files/src_flow_model_act.js.html#l22"><code>src\flow\model\act.js:22</code></a>
                </div>
            

            
                
                    Module: <a href="../modules/flow.model.html">flow.model</a>
                
            

            
        </div>

        
            
        </div>

        
            <div id="method" class="tab-pane">
                <h2 class="off-left">Methods</h2>

                
                    <div id="method_canRun" class="method item">
    <h3 class="name">canRun</h3>
    <code>
    canRun
    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        taskActID
                    
                </li>
            
                <li class="arg">
                    
                        user
                    
                </li>
            
                <li class="arg">
                    
                        [taskAct]
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    
    </code>

    
        <span class="returns-inline">
            <span class="type">Bool</span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_flow_model_act.js.html#l30"><code>src\flow\model\act.js:30</code></a>
        
        </p>


        

        
    </div>

    <div class="description well well-small sign-left3">
        <div class="stdoc-code"><p>是否可以运行一个活动(流程节点)，对外提供调用</p>
</div>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <table class="table table-bordered">
            <tr class='active'><th>name</th><th>type</th><th>flag</th><th>description</th></tr>
            
                <tr class="param">
                    
                       <td> <code class="param-name">taskActID</code>
                       <td> <span class="type">Int</span>
                       <td>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>活动节点ID</p>

                    </div>

                    
                </tr>
            
                <tr class="param">
                    
                       <td> <code class="param-name">user</code>
                       <td> <span class="type">Object</span>
                       <td>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>流程执行人</p>

                    </div>

                    
                </tr>
            
                <tr class="param">
                    
                    <td>
                        <code class="param-name optional">[taskAct]</code></td>
                    <td><span class="type">Object</span></td>
                    <td><span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>活动节点对象</p>

                    </div>

                    
                </tr>
            
            </table>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        [<span class="type">Bool</span>]
                    
                    <p>判断值</p>

                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_fwAutoExec" class="method item">
    <h3 class="name">fwAutoExec</h3>
    <code>
    fwAutoExec
    
        <span class="paren">()</span>
    
    </code>

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_flow_model_act.js.html#l123"><code>src\flow\model\act.js:123</code></a>
        
        </p>


        

        
    </div>

    <div class="description well well-small sign-left3">
        <div class="stdoc-code"><p>检查任务列表的所有当前节点，如果是自动执行的节点，则执行之</p>
</div>
    </div>

    

    

    
</div>

                
                    <div id="method_fwEnd" class="method item">
    <h3 class="name">fwEnd</h3>
    <code>
    fwEnd
    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        taskActID
                    
                </li>
            
                <li class="arg">
                    
                        user
                    
                </li>
            
                <li class="arg">
                    
                        [taskAct]
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    
    </code>

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_flow_model_act.js.html#l90"><code>src\flow\model\act.js:90</code></a>
        
        </p>


        

        
    </div>

    <div class="description well well-small sign-left3">
        <div class="stdoc-code"><p>正常结束一个活动(流程节点)，</p>
</div>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <table class="table table-bordered">
            <tr class='active'><th>name</th><th>type</th><th>flag</th><th>description</th></tr>
            
                <tr class="param">
                    
                       <td> <code class="param-name">taskActID</code>
                       <td> <span class="type">Int</span>
                       <td>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>活动节点ID</p>

                    </div>

                    
                </tr>
            
                <tr class="param">
                    
                       <td> <code class="param-name">user</code>
                       <td> <span class="type">Object</span>
                       <td>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>流程执行人</p>

                    </div>

                    
                </tr>
            
                <tr class="param">
                    
                    <td>
                        <code class="param-name optional">[taskAct]</code></td>
                    <td><span class="type">Object</span></td>
                    <td><span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>活动节点对象</p>

                    </div>

                    
                </tr>
            
            </table>
        </div>
    

    

    
</div>

                
                    <div id="method_fwGetActParms" class="method item">
    <h3 class="name">fwGetActParms</h3>
    <code>
    fwGetActParms
    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        actID
                    
                </li>
            
                <li class="arg">
                    
                        user
                    
                </li>
            
                <li class="arg">
                    
                        [taskAct]
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    
    </code>

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_flow_model_act.js.html#l105"><code>src\flow\model\act.js:105</code></a>
        
        </p>


        

        
    </div>

    <div class="description well well-small sign-left3">
        <div class="stdoc-code"><p>取活动(流程节点)参数，供其他方法调用</p>
</div>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <table class="table table-bordered">
            <tr class='active'><th>name</th><th>type</th><th>flag</th><th>description</th></tr>
            
                <tr class="param">
                    
                       <td> <code class="param-name">actID</code>
                       <td> <span class="type">Int</span>
                       <td>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>活动节点ID</p>

                    </div>

                    
                </tr>
            
                <tr class="param">
                    
                       <td> <code class="param-name">user</code>
                       <td> <span class="type">Object</span>
                       <td>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>流程执行人</p>

                    </div>

                    
                </tr>
            
                <tr class="param">
                    
                    <td>
                        <code class="param-name optional">[taskAct]</code></td>
                    <td><span class="type">Object</span></td>
                    <td><span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>活动节点对象</p>

                    </div>

                    
                </tr>
            
            </table>
        </div>
    

    

    
</div>

                
                    <div id="method_fwRun" class="method item">
    <h3 class="name">fwRun</h3>
    <code>
    fwRun
    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        taskActID
                    
                </li>
            
                <li class="arg">
                    
                        user
                    
                </li>
            
                <li class="arg">
                    
                        [taskAct]
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    
    </code>

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_flow_model_act.js.html#l45"><code>src\flow\model\act.js:45</code></a>
        
        </p>


        

        
    </div>

    <div class="description well well-small sign-left3">
        <div class="stdoc-code"><p>运行一个活动(流程节点)<br/>
canRun的判断在具体的业务task_act中调用</p>
</div>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <table class="table table-bordered">
            <tr class='active'><th>name</th><th>type</th><th>flag</th><th>description</th></tr>
            
                <tr class="param">
                    
                       <td> <code class="param-name">taskActID</code>
                       <td> <span class="type">Int</span>
                       <td>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>活动节点ID</p>

                    </div>

                    
                </tr>
            
                <tr class="param">
                    
                       <td> <code class="param-name">user</code>
                       <td> <span class="type">Object</span>
                       <td>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>流程执行人</p>

                    </div>

                    
                </tr>
            
                <tr class="param">
                    
                    <td>
                        <code class="param-name optional">[taskAct]</code></td>
                    <td><span class="type">Object</span></td>
                    <td><span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>活动节点对象</p>

                    </div>

                    
                </tr>
            
            </table>
        </div>
    

    

    
</div>

                
                    <div id="method_fwSuspend" class="method item">
    <h3 class="name">fwSuspend</h3>
    <code>
    fwSuspend
    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        taskActID
                    
                </li>
            
                <li class="arg">
                    
                        user
                    
                </li>
            
                <li class="arg">
                    
                        [taskAct]
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    
    </code>

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_flow_model_act.js.html#l61"><code>src\flow\model\act.js:61</code></a>
        
        </p>


        

        
    </div>

    <div class="description well well-small sign-left3">
        <div class="stdoc-code"><p>挂起一个活动(流程节点)，</p>
</div>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <table class="table table-bordered">
            <tr class='active'><th>name</th><th>type</th><th>flag</th><th>description</th></tr>
            
                <tr class="param">
                    
                       <td> <code class="param-name">taskActID</code>
                       <td> <span class="type">Int</span>
                       <td>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>活动节点ID</p>

                    </div>

                    
                </tr>
            
                <tr class="param">
                    
                       <td> <code class="param-name">user</code>
                       <td> <span class="type">Object</span>
                       <td>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>流程执行人</p>

                    </div>

                    
                </tr>
            
                <tr class="param">
                    
                    <td>
                        <code class="param-name optional">[taskAct]</code></td>
                    <td><span class="type">Object</span></td>
                    <td><span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>活动节点对象</p>

                    </div>

                    
                </tr>
            
            </table>
        </div>
    

    

    
</div>

                
                    <div id="method_fwTerminate" class="method item">
    <h3 class="name">fwTerminate</h3>
    <code>
    fwTerminate
    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        taskActID
                    
                </li>
            
                <li class="arg">
                    
                        user
                    
                </li>
            
                <li class="arg">
                    
                        [taskAct]
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    
    </code>

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_flow_model_act.js.html#l75"><code>src\flow\model\act.js:75</code></a>
        
        </p>


        

        
    </div>

    <div class="description well well-small sign-left3">
        <div class="stdoc-code"><p>终止一个活动(流程节点)，</p>
</div>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <table class="table table-bordered">
            <tr class='active'><th>name</th><th>type</th><th>flag</th><th>description</th></tr>
            
                <tr class="param">
                    
                       <td> <code class="param-name">taskActID</code>
                       <td> <span class="type">Int</span>
                       <td>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>活动节点ID</p>

                    </div>

                    
                </tr>
            
                <tr class="param">
                    
                       <td> <code class="param-name">user</code>
                       <td> <span class="type">Object</span>
                       <td>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>流程执行人</p>

                    </div>

                    
                </tr>
            
                <tr class="param">
                    
                    <td>
                        <code class="param-name optional">[taskAct]</code></td>
                    <td><span class="type">Object</span></td>
                    <td><span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>活动节点对象</p>

                    </div>

                    
                </tr>
            
            </table>
        </div>
    

    

    
</div>

                
                    <div id="method_getActById" class="method item">
    <h3 class="name">getActById</h3>
    <code>
    getActById
    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        id
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    
    </code>

    
        <span class="returns-inline">
            <span class="type">Object</span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_flow_model_act.js.html#l282"><code>src\flow\model\act.js:282</code></a>
        
        </p>


        

        
    </div>

    <div class="description well well-small sign-left3">
        <div class="stdoc-code"><p>根据ID取活动(流程节点)参数，供其他方法调用</p>
</div>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <table class="table table-bordered">
            <tr class='active'><th>name</th><th>type</th><th>flag</th><th>description</th></tr>
            
                <tr class="param">
                    
                       <td> <code class="param-name">id</code>
                       <td> <span class="type">Int</span>
                       <td>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>活动节点ID</p>

                    </div>

                    
                </tr>
            
            </table>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        [<span class="type">Object</span>]
                    
                    <p>活动(流程节点)参数对象</p>

                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_getActByIdAndProcId" class="method item">
    <h3 class="name">getActByIdAndProcId</h3>
    <code>
    getActByIdAndProcId
    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        id
                    
                </li>
            
                <li class="arg">
                    
                        procID
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    
    </code>

    
        <span class="returns-inline">
            <span class="type">Object</span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_flow_model_act.js.html#l298"><code>src\flow\model\act.js:298</code></a>
        
        </p>


        

        
    </div>

    <div class="description well well-small sign-left3">
        <div class="stdoc-code"><p>根据ID和模板ID取活动(流程节点)参数，供其他方法调用<br/>
模板较多的时候，用本方法来改进性能</p>
</div>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <table class="table table-bordered">
            <tr class='active'><th>name</th><th>type</th><th>flag</th><th>description</th></tr>
            
                <tr class="param">
                    
                       <td> <code class="param-name">id</code>
                       <td> <span class="type">Int</span>
                       <td>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>活动节点ID</p>

                    </div>

                    
                </tr>
            
                <tr class="param">
                    
                       <td> <code class="param-name">procID</code>
                       <td> <span class="type">Int</span>
                       <td>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>流程模板ID</p>

                    </div>

                    
                </tr>
            
            </table>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        [<span class="type">Object</span>]
                    
                    <p>活动(流程节点)参数对象</p>

                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_getActs" class="method item">
    <h3 class="name">getActs</h3>
    <code>
    getActs
    
        <span class="paren">()</span>
    
    </code>

    
        <span class="returns-inline">
            <span class="type">Array</span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_flow_model_act.js.html#l332"><code>src\flow\model\act.js:332</code></a>
        
        </p>


        

        
    </div>

    <div class="description well well-small sign-left3">
        <div class="stdoc-code"><p>取活动节点的列表，一般用于页面模块配置中的‘替换’调用: flow/act:getActs</p>
</div>
    </div>

    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        [<span class="type">Array</span>]
                    
                    <p>活动节点列表</p>

                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_getActsByProcId" class="method item">
    <h3 class="name">getActsByProcId</h3>
    <code>
    getActsByProcId
    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        procID
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    
    </code>

    
        <span class="returns-inline">
            <span class="type">Array</span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_flow_model_act.js.html#l344"><code>src\flow\model\act.js:344</code></a>
        
        </p>


        

        
    </div>

    <div class="description well well-small sign-left3">
        <div class="stdoc-code"><p>根据流程模板ID取活动节点的列表，一般用于页面模块配置中的‘替换’调用: flow/act:getActsByProcId</p>
</div>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <table class="table table-bordered">
            <tr class='active'><th>name</th><th>type</th><th>flag</th><th>description</th></tr>
            
                <tr class="param">
                    
                       <td> <code class="param-name">procID</code>
                       <td> <span class="type">Int</span>
                       <td>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>流程模板ID</p>

                    </div>

                    
                </tr>
            
            </table>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        [<span class="type">Array</span>]
                    
                    <p>活动节点列表</p>

                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_getActsOrder" class="method item">
    <h3 class="name">getActsOrder</h3>
    <code>
    getActsOrder
    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        procID
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    
    </code>

    
        <span class="returns-inline">
            <span class="type">Array</span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_flow_model_act.js.html#l171"><code>src\flow\model\act.js:171</code></a>
        
        </p>


        

        
    </div>

    <div class="description well well-small sign-left3">
        <div class="stdoc-code"><p>把节点根据路径走向排序，供其他方法调用</p>
</div>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <table class="table table-bordered">
            <tr class='active'><th>name</th><th>type</th><th>flag</th><th>description</th></tr>
            
                <tr class="param">
                    
                       <td> <code class="param-name">procID</code>
                       <td> <span class="type">Int</span>
                       <td>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>流程模板ID</p>

                    </div>

                    
                </tr>
            
            </table>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        [<span class="type">Array</span>]
                    
                    <p>流程节点的对象数组</p>

                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_getNameById" class="method item">
    <h3 class="name">getNameById</h3>
    <code>
    getNameById
    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        id
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    
    </code>

    
        <span class="returns-inline">
            <span class="type">String</span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_flow_model_act.js.html#l316"><code>src\flow\model\act.js:316</code></a>
        
        </p>


        

        
    </div>

    <div class="description well well-small sign-left3">
        <div class="stdoc-code"><p>根据ID取活动节点的名称，一般用于页面模块配置中的‘替换’调用: flow/act:getNameById</p>
</div>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <table class="table table-bordered">
            <tr class='active'><th>name</th><th>type</th><th>flag</th><th>description</th></tr>
            
                <tr class="param">
                    
                       <td> <code class="param-name">id</code>
                       <td> <span class="type">Int</span>
                       <td>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>活动节点ID</p>

                    </div>

                    
                </tr>
            
            </table>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        [<span class="type">String</span>]
                    
                    <p>活动名称</p>

                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_getToActsFromId" class="method item">
    <h3 class="name">getToActsFromId</h3>
    <code>
    getToActsFromId
    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        actID
                    
                </li>
            
                <li class="arg">
                    
                        [procID]
                    
                </li>
            
                <li class="arg">
                    
                        [toActs]
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    
    </code>

    
        <span class="returns-inline">
            <span class="type">Array</span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_flow_model_act.js.html#l250"><code>src\flow\model\act.js:250</code></a>
        
        </p>


        

        
    </div>

    <div class="description well well-small sign-left3">
        <div class="stdoc-code"><p>取某个节点的有效去向节点，过滤掉或者自动完成非人为参与的节点，供其他方法调用</p>
</div>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <table class="table table-bordered">
            <tr class='active'><th>name</th><th>type</th><th>flag</th><th>description</th></tr>
            
                <tr class="param">
                    
                       <td> <code class="param-name">actID</code>
                       <td> <span class="type">Int</span>
                       <td>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>当前节点</p>

                    </div>

                    
                </tr>
            
                <tr class="param">
                    
                    <td>
                        <code class="param-name optional">[procID]</code></td>
                    <td><span class="type">Int</span></td>
                    <td><span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>流程模板ID</p>

                    </div>

                    
                </tr>
            
                <tr class="param">
                    
                    <td>
                        <code class="param-name optional">[toActs]</code></td>
                    <td><span class="type">Array</span></td>
                    <td><span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    
                    </td>
                    <td><div class="param-description">
                        <p>去向节点集</p>

                    </div>

                    
                </tr>
            
            </table>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        [<span class="type">Array</span>]
                    
                    <p>去向节点集</p>

                
            </div>
        </div>
    

    
</div>

                
            </div>
        

        

        
    </div>
</div>

                </div>
            </div>
        </div>
    </div>
<a id="gotoTop" class='well well-small' href='#'>
    Top
</a>
<script src="../assets/vendor/jquery/jquery-1.8.2.min.js"></script>
<script src="../assets/vendor/bootstrap/js/bootstrap.min.js"></script>
<script src="../assets/vendor/prettify/prettify-min.js"></script>
<script src="../assets/js/config.js"></script>
<script src="../assets/js/doc.js"></script>
</body>
</html>
